#include "stm32f10x.h"
#include "Delay.h"
#include "Encoder.h"
#include "OLED.h"

int16_t EncoderNum;

int main(void)
{
  OLED_Init();
	Encoder_Init();
	OLED_ShowString(1, 1, "Count:");
	while(1){
		EncoderNum+=Encoder_Get();
	OLED_ShowSignedNum(1, 7,EncoderNum,5);
	
	}
}

